package com.cainaer.orders.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cainaer.orders.domain.Orders;

import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author Tina
 * @since 2020-09-11
 */
public interface OrdersMapper extends BaseMapper<Orders> {

    /**
     * 查询订单
     *
     * @param orders
     * @return
     */
    public List<Orders> queryOrders(Orders orders);

    /**
     * 查询市场月销量
     *
     * @param shopId
     * @return
     */
    public Integer querySalesVolumeByShopId(Long shopId);

}
